package com.ruoyi.ledger.service.impl;

import com.ruoyi.ledger.domain.LedgerConfig;
import com.ruoyi.ledger.mapper.LedgerConfigMapper;
import com.ruoyi.ledger.service.ILedgerConfigService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Collections;
import java.util.List;

/**
 * @author: zyh
 * @date: 2025/3/3 11:36
 **/
@Service
public class LedgerConfigServiceImpl implements ILedgerConfigService {


    @Resource
    private LedgerConfigMapper ledgerConfigMapper;


    @Override
    public LedgerConfig selectLedgerConfigByLedgerConfigId(String ledgerConfigId) {
        return null;
    }

    @Override
    public List<LedgerConfig> selectLedgerConfigList(LedgerConfig yhLedgerConfig) {
        return Collections.emptyList();
    }

    @Override
    public int insertLedgerConfig(LedgerConfig yhLedgerConfig) {
        return 0;
    }

    @Override
    public int updateLedgerConfig(LedgerConfig yhLedgerConfig) {
        return 0;
    }

    @Override
    public int deleteLedgerConfigByLedgerConfigIds(String[] ledgerConfigIds) {
        return 0;
    }

    @Override
    public int deleteLedgerConfigByLedgerConfigId(String ledgerConfigId) {
        return 0;
    }

    @Override
    public List<LedgerConfig> getLedgerConfigList(String userId) {
      return   ledgerConfigMapper.getLedgerConfigList(userId);
    }
}
